home *** CD-ROM | disk | FTP | other *** search
- -- card: 4246 from stack: in.1
- -- bmap block id: 6745
- -- flags: 0000
- -- background id: 2600
- -- name:
-
-
- -- part contents for background part 1
- ----- text -----
- Say you're performing some task on every card of a stack. Then you might script something like this:
-
- on mouseUp
- global ProgressPointer,RemoveProgress --more on this in a minute
- set cursor to watch
- Progress 1,"Now crunching data on all cards..."
- lock screen
- put the ID of this card into backhere
- repeat with i=1 to the number of cards
- go card i
- Progress 2,(i/the number of cards)*100 --multiply by 100 to make a "percent"
- doTheCrunching
- end repeat
- Progress 3 --dispose of the dialog
- go backhere --go back to where you started from
- unlock screen
- end mouseUp
-
-
- -- part contents for background part 7
- ----- text -----
- 4